package com.yunxi.otd.service;

import com.github.pagehelper.PageInfo;
import com.yunxi.core.web.ApiResult;
import com.yunxi.otd.pojo.OtdWeekCalendarImportVO;
import com.yunxi.otd.pojo.OtdWeekCalendarVO;
import java.util.List;

public interface OtdWeekCalendarDubboService {

    PageInfo pageByVO(OtdWeekCalendarVO calendarVO, Integer pageNum, Integer pageSize);

    ApiResult addWeekCalendar(OtdWeekCalendarVO weekCalendar);

    ApiResult modifyWeekCalendar(OtdWeekCalendarVO weekCalendar);

    OtdWeekCalendarVO getById(String calendarId);

    ApiResult removeCalendarByIds(List<String> calendarIdList);

    ApiResult importData(List<OtdWeekCalendarImportVO> calendarVOList);

    OtdWeekCalendarVO getByWeek(String year, String week);


}
